﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel;
using System.Runtime.CompilerServices;

namespace GuiaAeropuerto.ViewModel
{
    public class NotificationObject:INotifyPropertyChanged
    {

        public event PropertyChangedEventHandler PropertyChanged;
   
       public void OnPropertyChanged(object sender,[CallerMemberName] string name=null){
            if(PropertyChanged!=null)   
                PropertyChanged(sender,new PropertyChangedEventArgs(name));
       }

    }
}
